package com.jianzong.lingxuan.api.service;

import com.jianzong.lingxuan.api.entity.SectCharacter;
import com.jianzong.lingxuan.api.entity.vo.UserGame;

import java.util.Map;

/**
 * @auth Leiwenlong
 * @since 2021/7/28
 */
public interface GameService {

    /*
    *   计算是否血量为0
    * */
    boolean die(SectCharacter sectCharacter,String nickName,Map<String, Object> map,String gameter);

    /*
    *   防御计算
    * */
    int defense(SectCharacter sectCharacter);

    /*
     *   攻击计算
     * */
    int aggressivity(SectCharacter sectCharacter);

    /*
    *    战斗
    * */
    Map<String,Object> game(UserGame userGame, UserGame userGameTwo);
}
